package com.mrzhou.msg.vo.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;

/**
 * @author qiang.zhou
 */
@Getter
@Setter
public class ValidMailPhoneReq {

    @ApiModelProperty("邮箱或者短信")
    @NotBlank(message = "手机号或者邮箱不能为空")
    private String mailPhone;

    @ApiModelProperty("验证码")
    @NotBlank(message = "验证码不能为空")
    private String code;

    @ApiModelProperty("验证码类型, 1注册, 2登录,3忘记密码")
    private Integer type;

    @ApiModelProperty("客户端ip")
    private String clientIP;

}
